home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7018 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: peachy.apana.org.au!grahamb
  2. From: grahamb@peachy.apana.org.au (Graham Broadbridge)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: directory traversal
  5. Date: 17 Feb 1996 08:54:29 GMT
  6. Organization: The Peachy Linux Node!
  7. Message-ID: <4g4545$alu@peachy.apana.org.au>
  8. References: <DMHFCJ.o8u@emi.net>
  9. NNTP-Posting-Host: peachy.apana.org.au
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. samstar@emi.net wrote:
  13.  
  14. : I am just trying to write a program that looks at every directory in a given
  15. : path.
  16.  
  17. : example:
  18.  
  19. :          lookdir c:\bc
  20.  
  21. : This should give me every directory and subirectory in there
  22.  
  23. : I only wish to use find_first and find_next and strcat to do this....
  24.  
  25. I cannot find either a find_first or find_next function in my standard C 
  26. library.
  27.  
  28. Perhaps if you post your find_first() and find_next() functions we can 
  29. help.
  30.  
  31. Graham.
  32. --
  33. +----------------------------------------------------------------------------+
  34.   Graham Broadbridge        Internet <grahamb@ins.unilink.oz.au>
  35.   Marsfield   NSW           Insurance Network Services Ltd.         
  36.   Australia                 Senior Systems Engineer.
  37. +----------------------------------------------------------------------------+
  38.